package com.pigotech.ptwo;

import com.pigotech.ptwo.utils.UtilSystem;

/**
 * 记录一些常量
 * Created by ghb on 2018/3/16.
 */

public class Config {
    /**
     * 设备ip
     */
    public static final String WIFI_IP = "192.168.42.1";

    /**
     * 设备rtsp流地址
     */
    public static final String RTSP_MRL = "rtsp://192.168.42.1/stream2";

    //测试用
//	public static final String WIFI_IP = "192.168.0.222";
//	public static final String RTSP_MRL = "rtsp://192.168.0.222:8554/";

    /**
     * 保存文件的路径
     */
    public static final String FILE_DIR = UtilSystem.getSDPath() + "/sveye/God's eye/";
    /**
     * 保存文件到相册的路径
     */
    public static final String FILE_DIR_SAVE = UtilSystem.getSDPath() + "/SVEYES/";

    /**
     * 文档列表缩略图路径
     */
    public static final String IMAGES_DIR = UtilSystem.getSDPath() + "/sveye/images/";

    /**
     * 序列化对象存放的路劲
     */
    public static final String OBJ_DIR = UtilSystem.getSDPath() + "/sveye/obj";

    /**
     * 文件下载时，设备每次取数据的大小
     */
    public static final int BUFFER_SIZE = 1024 * 500;
}
